﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using System.IO;
using System.Xml.Serialization;
using Advanced_Terrain;

namespace Advanced_Terrain
{
    [Serializable]
    public class CustomDisc
    {
        private string _TextureName;
        private string _Manufacturer;
        private string _Name;
        private float _Stability;
        private Boolean _Roller;
        private Boolean _WindBonus;
        private float _MaxDistance;
        private string _DiscClass;
        private Boolean _IsActive;
        private Texture2D _Texture;

        public CustomDisc()
        { 


        }
        public CustomDisc(string _texturename, string manufacturer,string name, float stability, Boolean roller, Boolean windbonus,float maxdistance, string discclass,Boolean isactive,ContentManager contentmgr)
        {
            _TextureName = _texturename;
            _Manufacturer= manufacturer;
            _Name = name;
            _Stability = stability;
            _Roller= roller;
            _WindBonus=windbonus;
            _MaxDistance=maxdistance;
            _DiscClass = discclass;
            _IsActive = isactive;

        }
   public string Texture
        {
            get
            {
                return _TextureName;
            }

            set
            {
                _TextureName = value;
                //_Texture = _content.Load<Texture2D>(_TextureName);
            }
        }
        public string Manufacturer
        {
            get
            {
                return _Manufacturer;
            }
            set
            {
                _Manufacturer = value;
            }
        }
        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                _Name = value;
            }
        }

        public float Stability
        {
            get
            {
                return _Stability;
            }
            set
            {
                _Stability = value;
            }
        }
        public Boolean Roller
        {
            get
            {
                return _Roller;
            }
            set
            {
                _Roller = value;
            }
        }
        public Boolean WindBonus
         {
            get
            {
                return _WindBonus;
            }
            set
            {
                _WindBonus = value;
            }
        }
        public float MaxDistance
        {
            get
            {
                return _MaxDistance;
            }
            set
            {
                _MaxDistance = value;
            }
        }
        public string DiscClass
        {
            get
            {
                return _DiscClass;
            }
            set
            {
                _DiscClass = value;
            }
        }
        public Boolean IsActive
        {
            get
            {
                return _IsActive;
            }
            set
            {
                _IsActive = value;
            }
        }

        public Texture2D Texturejpg
        {
            get
            {
                return _Texture;
            }
            set
            {
                _Texture = value;
            }
        }
    }
}
